﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using MyAspx.EasyFramework.EntityFramework;

namespace MyAspx.EasyFramework.DAL3
{
    public class UserCodeRelationDAL
    {
        commyaspxdbEntities _myaspxentities = new commyaspxdbEntities();
        public int AddUcr(my_usercodererelation _myUsercodererelation)
        {
           
            _myaspxentities.my_usercodererelation.Add(new my_usercodererelation()
            {
                fileid = _myUsercodererelation.fileid,
                userid =  _myUsercodererelation.userid
            });
           return  _myaspxentities.SaveChanges();
        }
    }
}
